<template>
  <div w50rem h24rem p3 flex="~ col" justify-center items-center bg-dark>
    <div>
      <dv-scroll-ranking-board :config="config" style="width: 350px; height: 600px" />
      <!-- <ScrollRankingBoard :config="config" style="width: 500px; height: 300px" /> -->
    </div>
  </div>
</template>
<!-- <script lang="ts" setup>
import { ScrollRankingBoard } from "@kjgl77/datav-vue3";
import { reactive } from "vue";
const config = reactive({
  data: [
    {
      name: "周口",
      value: 55,
    },
    {
      name: "南阳",
      value: 120,
    },
    {
      name: "西峡",
      value: 78,
    },
    {
      name: "驻马店",
      value: 66,
    },
    {
      name: "新乡",
      value: 80,
    },
    {
      name: "信阳",
      value: 45,
    },
    {
      name: "漯河",
      value: 29,
    },
  ],
  unit: "万元",
});
</script> -->

<script>
export default {
  data() {
    return {
      config: {
        data: [
          {
            name:
              "蒙古营 番茄:销0.4吨，存0.6吨;角瓜:销0.2吨，存0.6吨;豆角:销0.3吨，存0.2吨;黄瓜:销0.25吨，存0吨;香葱:销1吨，存0.8吨;",
            value: 55,
          },
          {
            name:
              "宝国老 番茄:销0.3吨，存0.5吨;角瓜:销0.2吨，存0.3吨;小柿子:销0.3吨，存0.5吨;",
            value: 120,
          },
          {
            name: "下府  番茄:销0.15吨，存0.35吨;",
            value: 78,
          },
          {
            name: "黑城子  番茄:销0.65吨，存2.75吨;",
            value: 66,
          },
          {
            name:
              "娄家店  番茄:销0.3吨，存0.1吨;水果番茄:销0.5吨，存0.2吨;角瓜:销0.2吨，存0.12吨;",
            value: 80,
          },
          {
            name: "章吉营  番茄:销0.5吨，存0吨;辣椒:销0.6吨，存0吨;",
            value: 45,
          },
          {
            name: "五间房 番茄:销0.2吨，存0.4吨;",
            value: 29,
          },
          {
            name: "龙潭  番茄:销0.3吨，存0.2吨;;角瓜:销0吨，存0.15吨;",
            value: 29,
          },
          {
            name:
              "三宝  番茄:销0.2吨，存0.3吨;角瓜:销0.3吨，存0.1吨;豆角:销0.1吨，存0.3吨;黄瓜:销0.1吨，存0.1吨;",
            value: 29,
          },
          {
            name: "北四家 番茄:销0.5吨，存0.6吨;角瓜:销0.2吨，存0.5吨;",
            value: 29,
          },
          {
            name: "南八家  番茄:销0.2吨;甘蓝:销0.4吨;豆角:销0.8吨;黄瓜:销0.1吨;",
            value: 29,
          },
          {
            name: "常河营 番茄:销0.1吨，存0吨;角瓜:销0.2吨，存0吨;",
            value: 29,
          },
          {
            name: "长皋 番茄:销0.035吨，存0.1吨;螺丝椒:销0.1吨，存0.4吨;",
            value: 29,
          },
        ],
        fontSize: 17,
        rowNum: 8,
      },
    };
  },
};
</script>
